From 5fcfe68304aaddafe0fd6f225b9605897d82035d Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 30 Jan 2008 14:24:20 +0000 Subject: [PATCH] xend: fix external-device-migrate step 0 Add domain name to a migrateDevice call, so the helper script (external-device-migrate example) does not fail at step 0 (MIGRATION_TEST). Signed-off-by: Pascal Bouchareine --- tools/python/xen/xend/XendDomainInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 8cb1531f06..96f65287b7 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -1585,7 +1585,7 @@ class XendDomainInfo: @raise: XendError for a device that cannot be migrated """ for (n, c) in self.info.all_devices_sxpr(): - rc = self.migrateDevice(n, c, network, dst, DEV_MIGRATE_TEST) + rc = self.migrateDevice(n, c, network, dst, DEV_MIGRATE_TEST, self.getName()) if rc != 0: raise XendError("Device of type '%s' refuses migration." % n) -- 2.30.2